package com.ruoyi.user.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 银行卡对象 t_user_back
 * 
 * @author ruoyi
 * @date 2025-04-10
 */
public class UserBack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户银行卡ID */
    private Long id;

    /** 用户 */
    @Excel(name = "用户")
    private Long userId;

    /** 银行卡 */
    @Excel(name = "银行卡")
    private String backName;

    /** 银行卡logo */
    @Excel(name = "银行卡logo")
    private String backLogo;

    /** 持卡人姓名 */
    @Excel(name = "持卡人姓名")
    private String backUserName;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String backIdcard;

    /** 所属分行 */
    @Excel(name = "所属分行")
    private String backBranch;

    /** 银行卡颜色 */
    @Excel(name = "银行卡颜色")
    private String backColor;

    /** 银行卡状态 */
    private String backStatus;

    /** 逻辑删除（0=未删除，1=已删除） */
    private Integer isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setBackName(String backName) 
    {
        this.backName = backName;
    }

    public String getBackName() 
    {
        return backName;
    }
    public void setBackLogo(String backLogo) 
    {
        this.backLogo = backLogo;
    }

    public String getBackLogo() 
    {
        return backLogo;
    }
    public void setBackUserName(String backUserName) 
    {
        this.backUserName = backUserName;
    }

    public String getBackUserName() 
    {
        return backUserName;
    }
    public void setBackIdcard(String backIdcard) 
    {
        this.backIdcard = backIdcard;
    }

    public String getBackIdcard() 
    {
        return backIdcard;
    }
    public void setBackBranch(String backBranch) 
    {
        this.backBranch = backBranch;
    }

    public String getBackBranch() 
    {
        return backBranch;
    }
    public void setBackColor(String backColor) 
    {
        this.backColor = backColor;
    }

    public String getBackColor() 
    {
        return backColor;
    }
    public void setBackStatus(String backStatus) 
    {
        this.backStatus = backStatus;
    }

    public String getBackStatus() 
    {
        return backStatus;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("backName", getBackName())
            .append("backLogo", getBackLogo())
            .append("backUserName", getBackUserName())
            .append("backIdcard", getBackIdcard())
            .append("backBranch", getBackBranch())
            .append("backColor", getBackColor())
            .append("backStatus", getBackStatus())
            .append("isDelete", getIsDelete())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
